package com.jctrip.hotel.common.util;

import org.apache.commons.lang3.StringUtils;

/**
 * @Author: zxy
 * @CreateTime: 2023-10-19 14:54
 * @Description:
 */
public class StringUtil {
    public static String getNotBlank(String... values) {
        if (values == null) {
            return "";
        }
        for (String value : values) {
            if (StringUtils.isNotBlank(value)) {
                return value;
            }
        }
        return "";
    }

    public static String valueOf(Integer number) {
        if (number == null) {
            return "";
        }
        return String.valueOf(number);
    }
}
